{include file="public/header" title="伯乐王教育后台管理" /}
    <section class="container-fluid" style="margin-top: 60px;">
		{include file="public/aside" jobs='active'}
		<div class="col-xs-9  col-xs-offset-3">
			<ol class="breadcrumb">
	          <li><a href="{:url('admin/index')}">首页</a></li>
	          <li class="active">投递列表</li>
	        </ol>
	        <div class="panel panel-default">
		     <div class="panel-body" id="changepanel">
		      <div class="panel1 show1">
		     	<table class="table table-bordered table-hover table-responsive">
		     	 <thead>
		          <tr>
		            <th>#</th>
		            <th>投递人姓名</th>
		            <th>投递人电话号码</th>
		            <th>投递人邮箱号码</th>
		            <th>投递时间</th>
		            <th>操作</th>
		            <th>状态</th>
		          </tr>
		     	 </thead>
		          {volist name='list' id='user'}
		          <tr>
		            <td>{$user.id}</td>
		            <td>{$user.username}</td>
		            <td>{$user.phone}</td>
		            <td>{$user.email}</td>
		            <td>{$user.create_time|date="y-m-d h:m",###}</td>
		            <td>
		              <button class="btn btn-default btn-danger" id="{$user.id}delete">删除</button>
		              <button class="btn btn-default btn-success" id="{$user.personid}person">查看投递人信息</button>
		              {if($user.status==0)}
		              <button class="btn btn-default btn-success" id="{$user.id}fabu">感兴趣</button>
		              {else /}
		              <button class="btn btn-default btn-danger" id="{$user.id}cancel">不感兴趣</button>
		              {/if}
		            </td>
		            {if($user.status==0)}
		            <td>感兴趣</td>
		            {else /}
		            <td>不感兴趣</td>
					{/if}
		          </tr>
		            {/volist}
		        </table>
		        {$page}
		      </div>
		      <div class="modal fade" id="deleteModel" tabindex="-1" role="dialog" aria-labelledby="deleteModalLabel">
				  <div class="modal-dialog" role="document">
				    <div class="modal-content">
				      <div class="modal-header">
				        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
				        <h4 class="modal-title" id="myModalLabel">警告</h4>
				      </div>
				      <div class="modal-body">
				        确认要执行删除操作？删除之后不可恢复！！！
				      </div>
				      <div class="modal-footer">
				        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
				        <button type="button" class="btn btn-primary" id="deletp">确认</button>
				      </div>
				    </div>
				  </div>
				</div>
			<div class="modal fade" id="updateModel" tabindex="-1" role="dialog" aria-labelledby="updateModalLabel">
				  <div class="modal-dialog" role="document">
				    <div class="modal-content">
				      <div class="modal-header">
				        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
				        <h4 class="modal-title" id="myModalLabel">注意</h4>
				      </div>
				      <div class="modal-body">
				      	您将对数据进行更新,如有需要请自行备份当前数据!
				      </div>
				      <div class="modal-footer">
				        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
				        <button type="button" class="btn btn-primary" id="updatp">确认</button>
				      </div>
				    </div>
				  </div>
				</div>
			<div class="modal fade" id="fabuModel" tabindex="-1" role="dialog" aria-labelledby="fabuModalLabel">
				  <div class="modal-dialog" role="document">
				    <div class="modal-content">
				      <div class="modal-header">
				        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
				        <h4 class="modal-title" id="myModalLabel">注意</h4>
				      </div>
				      <div class="modal-body">
				      	您将对该内容进行发布!
				      </div>
				      <div class="modal-footer">
				        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
				        <button type="button" class="btn btn-primary" id="fabtp">确认</button>
				      </div>
				    </div>
				  </div>
				</div>
			<div class="modal fade" id="cancelModel" tabindex="-1" role="dialog" aria-labelledby="cancelModalLabel">
				  <div class="modal-dialog" role="document">
				    <div class="modal-content">
				      <div class="modal-header">
				        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
				        <h4 class="modal-title" id="myModalLabel">注意</h4>
				      </div>
				      <div class="modal-body">
				      	您将禁用该内容!
				      </div>
				      <div class="modal-footer">
				        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
				        <button type="button" class="btn btn-primary" id="cancep">确认</button>
				      </div>
				    </div>
				  </div>
				</div>
		     </div>
	        </div>
        </div>
	</section>
	{load href="__PUBLIC__static/js/jquery.min.js"}
	{load href="__PUBLIC__static/js/jquery.validate.min.js"}
	{load href="__PUBLIC__static/js/layer.js"}
	<script data-main="__PUBLIC__admin/js/main" src="__PUBLIC__admin/js/require.js"></script>
	{include file="public/footer"}